package com.bootdo.wx.service.impl;

import com.bootdo.wx.dao.GoodsTagLinkDao;
import com.bootdo.wx.domain.GoodsTagLinkDO;
import com.bootdo.wx.service.GoodsTagLinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class GoodsTagLinkServiceImpl implements GoodsTagLinkService {
	@Autowired
	private GoodsTagLinkDao goodsTagLinkDao;
	
	@Override
	public GoodsTagLinkDO get(String goodsId){
		return goodsTagLinkDao.get(goodsId);
	}
	
	@Override
	public List<GoodsTagLinkDO> list(Map<String, Object> map){
		return goodsTagLinkDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return goodsTagLinkDao.count(map);
	}
	
	@Override
	public int save(GoodsTagLinkDO goodsTagLink){
		return goodsTagLinkDao.save(goodsTagLink);
	}
	
	@Override
	public int update(GoodsTagLinkDO goodsTagLink){
		return goodsTagLinkDao.update(goodsTagLink);
	}
	
	@Override
	public int remove(String goodsId){
		return goodsTagLinkDao.remove(goodsId);
	}
	
	@Override
	public int batchRemove(String[] goodsIds){
		return goodsTagLinkDao.batchRemove(goodsIds);
	}
	
}
